const { effect, reactive } = require("@vue/reactivity");
// let count = reactive(1);
let count = reactive({
  num1: 1,
  num2: 2,
});
effect(() => {
  console.log("当前的和=", count.num1, count.num2, count.num1 + count.num2);
});

count.num1 += 1;
setTimeout(() => {
  console.log(99999);
  count.num1 += 1;
}, 3000);
